import React from "react"
//  商家运费模板详情
export async function freightTemplateDetails(params) {
  return await React.$post('manage/api/b/freightTemplate/detail', params);
}
// 保存商家运费模板
export async function freightTemplateAddOrEdit(params) {
  return await React.$postJson('manage/api/b/freightTemplate/addOrEdit', params);
}
// 商家运费模板分页
export async function freightTemplatePage(params) {
  return await React.$post('manage/api/b/freightTemplate/page', params);
}
// 商家运费模板删除
export async function freightTemplateDelete(params) {
  return await React.$post('manage/api/b/freightTemplate/delete', params);
}